package com.lfy.Factor.comm.abs.dfg;

import com.lfy.aop.tre;
import org.springframework.stereotype.Component;

@Component
@tre
public class TreImpl2 implements Tre{
    @Override
    public String name() {
        return "2";
    }

    @Override
    public Boolean code(Integer c) {
        if(c == 2){
            return true;
        }
        return false;
    }
}
